package com.example.firstboot.service;


import com.example.firstboot.entity.TbUser;
import com.example.firstboot.mapper.DocOndutyMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DocOndutyService {
    @Resource
    private DocOndutyMapper docOndutyMapper;

    public List<TbUser> selectSundayDoc(String department) {return docOndutyMapper.selectSundayDoc(department);}

    public List<TbUser> selectMondayDoc(String department) {return docOndutyMapper.selectMondayDoc(department);}

    public List<TbUser> selectTuesdayDoc(String department) {return docOndutyMapper.selectTuesdayDoc(department);}

    public List<TbUser> selectWednesayDoc(String department) {return docOndutyMapper.selectWednesayDoc(department);}

    public List<TbUser> selectThursdayDoc(String department) {return docOndutyMapper.selectThursdayDoc(department);}

    public List<TbUser> selectFridayDoc(String department) {return docOndutyMapper.selectFridayDoc(department);}

    public List<TbUser> selectSaturdayDoc(String department) {return docOndutyMapper.selectSaturdayDoc(department);}
}
